home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / strpit11.zip / STRPREAD.ME < prev   
Text File  |  1990-12-01  |  3KB  |  76 lines

  1. PRESS PgUp/PgDn or / to scroll through the program, Esc exits.
  2.  
  3. STRIP-IT, version 1.1 is a file stripping utility by InsaniSoft, Inc.
  4.  
  5. What it does:
  6.   Strip-it is a little utility that will strip a number of characters off the
  7. left or right columns of a file. You can run this program either by batch or 
  8. from the command line. To run from the command line, type STRP-IT and answer the
  9. questions.
  10.  
  11. The proper syntax for batch files is: "-XNN (dr)(path)Filename.ext" where
  12. X is "L"eft or "R"ight. 
  13. NN is the number of characters to be stripped. If "0" or no parameters are
  14. entered, STRIP-IT will remove blank lines only. You cannot use negative numbers.
  15. dr and path are the optional drive and path.
  16. Filename.ext is, of course, the filename.
  17. EXAMPLE: STRP-IT -L12 D:\TEMP\FOO.BAR strips 12 characters from the left of
  18.          the file FOO.BAR on D drive in the TEMP subdirectory.
  19.  
  20. STRIP-IT renames the changed file as the original and saves the original with
  21. the extension .SAV.
  22.  
  23. NOTES:
  24.   If a line in a file contains less than the number of characters requested,
  25. or is blank, STRIP-IT will remove that line from the output file.
  26.  
  27.   STRIP-IT creates a file called STRP-ERR that will either say that it processed
  28. the file, or will contain an error message if something went wrong.
  29.  
  30.   If you run the program from batch, make sure you rename or move the .SAV and
  31. the created file or else STRIP-IT will try to process it again and will error
  32. out when it saves the original file (it uses a renaming process to save the
  33. original and to substitute to process file).
  34.  
  35.   STRIP-IT doesn't care about the original file size. It processes one line at a
  36. time. You can figure that it will take 10 times as long to run a 100k file as
  37. it does a 10k file.
  38.  
  39. Some suggested uses for this file:
  40. 1. If you pipe a directory into a file, you can use STRIP-IT to remove the
  41.    date/time stamp and/or file size. You can then use the resulting file as
  42.    input for another program.
  43. 2. If you have a BBS that makes a log file, you can use STRIP-IT to remove the
  44.    beginning characters. For example if your log looks like this:
  45. > RA 00:12 Joe Blow logged on
  46. > RA 00:14 Joe Blow shelled to ...
  47. > RA 00:17 Joe Blow logged off
  48.  
  49. > RA 01:22 Joe Blow logged on
  50. > RA 01:35 Joe Blow downloaded....
  51.  
  52. You can make it look like this:
  53.  
  54. Joe Blow logged on
  55. Joe Blow shelled to ...
  56. Joe Blow logged off
  57. Joe Blow logged on
  58. Joe Blow downloaded....
  59.  
  60. Then you can use a duplicate line deleter and have a file that shows the user
  61. activity without all the spaces, and duplicate messages.
  62.  
  63.  
  64. COPYRIGHT 1990 BY INSANISYS SOFTWARE. THIS PROGRAM IS DISTRUBUTED WITHOUT
  65. ANY CHARGE, WARRANTIES, OR RESPONSIBITIES. RUN AT YOUR OWN RISK.
  66. IF YOU FIND THIS PROGRAM USEFUL, PLEASE SEND A LITTLE SOMETHING TO THE AUTHOR.
  67.  
  68. IF YOU HAVE ANY SUGGESTIONS FOR IMPROVEMENTS, OR IF YOU FIND ANY BUGS, LET
  69. ME KNOW, I WILL USE EITHER TO IMPROVE THE PROGRAMS.
  70.  
  71. PATRICK JADERBORG
  72. 212 NELLIS DRIVE
  73. GOLDSBORO, NC, 27534
  74.  
  75. I can also be reached on Zero's Palace BBS 1:151/804 
  76.                          (919)-735-0342